﻿/*
Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/

CKEDITOR.editorConfig = function( config )
{
	// Define changes to default configuration here. For example:
	// config.language = 'fr';
	// config.uiColor = '#AADC6E';
	
	config.language = 'zh-cn';
	config.scayt_autoStartup = false; // 去掉拼写检查
	config.font_names = '宋体/宋体;黑体/黑体;仿宋/仿宋_GB2312;楷体/楷体_GB2312;隶书/隶书;幼圆/幼圆;微软雅黑/微软雅黑;' + config.font_names;
	
	config.toolbar_Simple = [
		['Source','Cut','Copy','Paste','PasteText','PasteFromWord'],
		['Bold','Italic','Underline','Strike'],
		['NumberedList','BulletedList','Outdent','Indent','Subscript','Superscript'],
		['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
		'/',
		['Link','Unlink','Anchor'],
		['Styles','Format','Font','FontSize'],
		['TextColor','BGColor','KT_Image']
	];
	
	config.toolbar_formDesign = [
	    ['Source','Maximize'],
	    ['Bold','Italic','Underline','Strike'],
	    ['NumberedList','BulletedList','Outdent','Indent','Subscript','Superscript'],
	    ['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock','HorizontalRule'],
	    ['Link','Unlink'],
	    '/',
	    ['TextColor','BGColor'],
	    ['Format','Font','FontSize'],
	    ['Table','wf-text','wf-textarea','wf-checkbox','wf-select','wf-date','wf-tpl','wf-image']
	];
	
	config.extraPlugins = 'kt_image,wf-checkbox,wf-text,wf-textarea,wf-select,wf-date,wf-tpl,wf-image';
};
